package com.itheima.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * 货主-库位关联表
 *
 * @author diesel
 */
@Data
@ApiModel(description = "货主-库位关联表")
public class OwnerLocationBatchDTO {

    @NotNull(message = "请选择库位")
    @ApiModelProperty("仓库，库区，库位 id集合")
    private List<String> idStrArray;

    @NotNull(message = "货主id不能为空")
    @ApiModelProperty("货主id")
    private Long ownerId;
}
